<!-- header start -->
<div id="header">
    <div class="top clearfix">
        <div class="right">
            {{--<a class="icon icon-msg" href="发送消息.html"><span class="icon"></span></a>--}}

            <div class="top-select">
                <a href="#">系统管理员</a>
                <span class="icon"></span>
                <ul>
                    <li><a href="{{route("Admin.Home.changePwd")}}">修改密码</a></li>
                    <li><a href="{{route("Api.Admin.Auth.signOut")}}">安全退出</a></li>
                </ul>
            </div>
        </div>
    </div>

    <div class="clearfix">
        <ul id="nav">
{{--            <li @if(in_array(\Request::url() , [route('Admin.Home.userList')]))class="active" @endif>--}}
{{--                <a href="{{route('Admin.Home.userList')}}">--}}
{{--                    <cite class="icon icon-nav-2"></cite>--}}
{{--                    <span>用户列表</span>--}}
{{--                </a>--}}
{{--            </li>--}}
            <li @if(in_array(\Request::url() , [route('Admin.Home.webSiteInfo'),route('Admin.Home.footerMenu'),route('Admin.Home.enWebSiteInfo'),route('Admin.Home.enFooterMenu'),route('Admin.Home.classifyList'),route('Admin.Home.enClassifyList')]))class="active" @endif>
                <a href="{{route('Admin.Home.webSiteInfo')}}">
                    <cite class="icon icon-nav-2"></cite>
                    <span>网站设置</span>
                </a>
            </li>
            <li @if(in_array(\Request::url() , [route('Admin.Home.volunteerList'),route('Admin.Home.charitableList'),route('Admin.Home.charitableSet'),route('Admin.Home.enCharitableList'),route('Admin.Home.enCharitableSet')]))class="active" @endif>
                <a href="{{route('Admin.Home.charitableList')}}">
                    <cite class="icon icon-nav-2"></cite>
                    <span>运营管理</span>
                </a>
            </li>
            <li @if(in_array(\Request::url() , [route('Admin.Home.onlineMessageList')]))class="active" @endif>
                <a href="{{route('Admin.Home.onlineMessageList')}}">
                    <cite class="icon icon-nav-2"></cite>
                    <span>
                        @if(count($zhClassify) > 0)
                            @foreach($zhClassify as $val1)
                                @if($val1->type == 'online')
                                    {{$val1->name}}
                                    @break;
                                @endif
                            @endforeach
                        @else
                            留言
                        @endif
                    </span>
                </a>
            </li>
            <li @if(in_array(\Request::url() , [route('Admin.Home.philanthropyList'),route('Admin.Home.philanthropySet'),route('Admin.Home.enPhilanthropyList'),route('Admin.Home.enPhilanthropySet'),route('Admin.Home.achievementList'),route('Admin.Home.achievementSet'),route('Admin.Home.enAchievementList'),route('Admin.Home.enAchievementSet')]))class="active" @endif>
                <a href="{{route('Admin.Home.philanthropyList')}}">
                    <cite class="icon icon-nav-2"></cite>
                    <span>宣传管理</span>
                </a>
            </li>
            <li @if(in_array(\Request::url() , [route('Admin.Home.newsList'),route('Admin.Home.newsSet'),route('Admin.Home.enNewsList'),route('Admin.Home.enNewsSet'),route('Admin.Home.projectCaseList'),route('Admin.Home.projectCaseSet'),route('Admin.Home.enProjectCaseList'),route('Admin.Home.enProjectCaseSet'),route('Admin.Home.environmentalList'),route('Admin.Home.environmentalSet'),route('Admin.Home.enEnvironmentalList'),route('Admin.Home.enEnvironmentalSet'),route('Admin.Home.environmentalClassifyList'),route('Admin.Home.enEnvironmentalClassifyList')]))class="active" @endif>
                <a href="{{route('Admin.Home.newsList')}}">
                    <cite class="icon icon-nav-2"></cite>
                    <span>内容管理</span>
                </a>
            </li>
            <li @if(in_array(\Request::url() , [route('Admin.Home.aboutUsList'),route('Admin.Home.aboutUsSet'),route('Admin.Home.aboutUsClassifyList'),route('Admin.Home.enAboutUsList'),route('Admin.Home.enAboutUsSet'),route('Admin.Home.enAboutUsClassifyList')]))class="active" @endif>
                <a href="{{route('Admin.Home.aboutUsList')}}">
                    <cite class="icon icon-nav-2"></cite>
                    <span>关于我们</span>
                </a>
            </li>
            <li @if(in_array(\Request::url() , [route('Admin.Home.commentList'),route('Admin.Home.commentSet'),route('Admin.Home.enCommentList'),route('Admin.Home.enCommentSet')]))class="active" @endif>
                <a href="{{route('Admin.Home.commentList')}}">
                    <cite class="icon icon-nav-2"></cite>
                    <span>评价管理</span>
                </a>
            </li>
            <li @if(in_array(\Request::url() ,[route('Admin.Home.bannerList'),route('Admin.Home.bannerSet'),route('Admin.Home.enBannerList'),route('Admin.Home.enBannerSet')]))class="active" @endif>
                <a href="{{route('Admin.Home.bannerList')}}">
                    <cite class="icon icon-nav-2"></cite>
                    <span>Banner管理</span>
                </a>
            </li>
            <li @if(\Request::url() == route('Admin.Home.adminList'))class="active" @endif>
                <a href="{{route('Admin.Home.adminList')}}">
                    <cite class="icon icon-nav-3"></cite>
                    <span>管理员管理</span>
                </a>
            </li>
            {{--<li @if(\Request::url() == route('Admin.Home.feedbackList'))class="active" @endif>--}}
                {{--<a href="{{route('Admin.Home.feedbackList')}}">--}}
                    {{--<cite class="icon icon-nav-2"></cite>--}}
                    {{--<span>意见反馈</span>--}}
                {{--</a>--}}
            {{--</li>--}}
        </ul>
    </div>
</div>
<!-- header end -->